package com.xijia.wuyouwallet.api;

import org.xutils.common.Callback;

/**
 * Created by Administrator on 2016/11/16 0016.
 */

public class MyProgressCallBack<ResultType> implements Callback.ProgressCallback<ResultType> {


    @Override
    public void onWaiting() {

    }

    @Override
    public void onStarted() {

    }

    @Override
    public void onLoading(long total, long current, boolean isDownloading) {

    }

    @Override
    public void onSuccess(ResultType result) {

        //根据公司业务需求，处理相应业务逻辑
    }

    @Override
    public void onError(Throwable ex, boolean isOnCallback) {

        //根据公司业务需求，处理相应业务逻辑
    }

    @Override
    public void onCancelled(CancelledException cex) {

    }

    @Override
    public void onFinished() {

    }
}
